using System;
using System.Collections.Generic;
using System.Text;

using System.Xml.Serialization;

namespace XMIAddin.Xmi
{
    public class UmlAttribute : UmlClassifierFeature, IUmlTyped
    {
        #region IUmlTyped Members

        [XmlElement("TypedElement.type", Namespace = "org.omg.xmi.namespace.UML2")]
        public UmlTypedElementType ElementType = null;

        public UmlTypeReference TypedElementType
        {
            set { ElementType = new UmlTypedElementType(); ElementType.Type = value; }
        }

        #endregion
    }
}
